-- GENERATED SPELL FOR [Cliff Giant] --


function spell0_5358(pUnit, Event) --@War Stomp,Self--
pUnit:FullCastSpellOnTarget(45,pUnit)
pUnit:RegisterEvent('Sorts_5358', 573, 1)
end

function Sorts_5358(pUnit, Event)
local choix_sorts_5358 = math.random(0, 0)
if choix_sorts_5358 == 0 then
pUnit:RegisterEvent('spell0_5358', 1, 1)
end
end

function mob5358_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5358', math.random(1500, 3000), 1)
end

function mob5358_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5358_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5358_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5358, 1, 'mob5358_Action')
RegisterUnitEvent(5358, 2, 'mob5358_Leave')
RegisterUnitEvent(5358, 3, 'mob5358_Kill')
RegisterUnitEvent(5358, 4, 'mob5358_Die')
